package com.laoyu.common.db.annotation;

import java.lang.annotation.*;

/**
 * @author yuzhendong
 * @date 2024/1/4 15:40
 * @discription 数据权限注解
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DataPermission {

    /**
     * 数据权限 {@link com.baomidou.mybatisplus.extension.plugins.inner.DataPermissionInterceptor}
     */
    String deptAlias() default "";
}

